home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17311 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: inf.ethz.ch!not-for-mail
  2. From: marti@inf.ethz.ch (Robert Marti)
  3. Newsgroups: comp.lang.java,comp.lang.c++,comp.lang.smalltalk
  4. Subject: Re: Will Java kill C++?
  5. Date: 15 Apr 1996 10:03:36 +0200
  6. Organization: Dept. Informatik, ETH Zuerich (Swiss Federal Institute of Technology)
  7. Message-ID: <4ksvso$61v@ea.inf.ethz.ch>
  8. References: <3134D499.653E@ix.netcom.com> <Jan-1104960033370001@news.magmacom.com> <3171397F.4C3F@ibm.net> <Jan-1404962357150001@news.magmacom.com>
  9. NNTP-Posting-Host: ea.inf.ethz.ch
  10.  
  11. In article <Jan-1404962357150001@news.magmacom.com>,
  12. Jan Steinman <Jan@Bytesmiths.com> wrote:
  13. >BTW: I just accidentally typed "1000 factorial" when I meant "100
  14. >factorial." It took several seconds to print several window's worth of
  15. >digits, but I suspect that most of that time was spent rendering the
  16. >digits onto the screen, NOT calculating them.
  17.  
  18. Indeed.  Some Scheme interpreter I used to use (it may have been
  19. MIT Scheme version 6 or 7) wrote a prompt after finishing the
  20. computation, and before writing the actual result.  Normally, you
  21. couldn't notice a gap between the two outputs, but when evaluating
  22. (factorial 1000), the prompt would be displayed almost immediately,
  23. but you'd have to wait a while until several screens of digits
  24. scrolled past ...
  25.  
  26. -- 
  27. Robert Marti                        Phone:    +41 1 254 72 60
  28. Institut fur Informationssysteme
  29. ETH-Zentrum                         Internet: marti@inf.ethz.ch
  30. CH-8092 Zurich, Switzerland         UUCP:     ...uunet!mcvax!ethz!marti
  31.